units = {

# Infantry ------------------------------
    "footman" : {
        "name" : "Footman",
        "mesh" : "./models/footman.egg",
        "hp" : 100,
        "melee_av" : 10,
        "ranged_av" : 0,
        "dv" : 10,
        "speed" : 3.0,
        "rof" : 1.0
    },

    "legionary" : {
        "name" : "Legionary",
        "mesh" : "./models/officer_infantry.egg",
        "hp" : 100,
        "melee_av" : 10,
        "ranged_av" : 0,
        "dv" : 10,
        "speed" : 3.0,
        "rof" : 1.0
    },
        
# Archers / Ranged ----------------------
    "skirmisher" : {
        "name" : "Skirmisher",
        "mesh" : "skirmisher.egg",
        "hp" : 100,
        "melee_av" : 10,
        "ranged_av" : 0,
        "dv" : 10,
        "speed" : 10,
        "rof" : 1.0
    },
    
# Cavalry -------------------------------
    "runner" : {
        "name" : "Runner",
        "mesh" : "./models/runner.egg",
        "hp" : 100,
        "melee_av" : 10,
        "ranged_av" : 0,
        "dv" : 10,
        "speed" : 10,
        "rof" : 1.0
    },

# Utility -------------------------------
    "allocator" : {
        "name" : "Allocator",
        "mesh" : "./models/runner.egg",
        "hp" : 100,
        "melee_av" : 5,
        "ranged_av" : 0,
        "dv" : 8,
        "speed" : 10,
        "rof" : 1.0
    },
}

buildings = {
    "res1_building" : {
        "name" : "Barracks",
        "mesh" : "barracks.mesh",
        "cost" : 100,
        "production_bytes" : 0,
        "production_res1" : 6,
        "production_res2" : 0,
        "production_res3" : 0

    },
    "res2_building" : {
        "name" : "Temple",
        "mesh" : "temple.mesh",
        "cost" : 100,
        "production_bytes" : 0,
        "production_res1" : 0,
        "production_res2" : 6,
        "production_res3" : 0
    },
    "res3_building" : {
        "name" : "Spire",
        "mesh" : "spire.mesh",
        "cost" : 100,
        "production_bytes" : 0,
        "production_res1" : 0,
        "production_res2" : 0,
        "production_res3" : 6
    },
}

ranks = {
    "city" : [ "Village", "Town", "City", "Stronghold" ],
    "company" : [ "Recruit", "Regular", "Veteran", "Elite"],
}

